package com.dongjiantong.insurance.enus;

/**
 * Created by ThinkPad on 2017/12/11.
 */
public enum InsuranceFlow {


    // 审核状态 0已提交1初审通过2初审未通过3已勘察4审核通过5审核不通过
    INSURANCE_FLOW_submit(0, "提交"),
    INSURANCE_FLOW_short_list(1, "初审通过"),
    INSURANCE_FLOW_Failed_trial(2, "初审未通过"),
    INSURANCE_FLOW_Have_survey(3, "已勘察"),
    INSURANCE_FLOW_Approve(4, "审核通过"),
    INSURANCE_FLOW_UnApprove(5, "审核不通过"),

    file_type_one(1, "投保照片"),
    file_type_two(2, "理赔照片"),
    file_type_three(3, "无害化照片"),

    Inform_insurance(1, "投保通知"),
    Inform_claims(2, "理赔通知"),
    Inform_other(3, "其它通知");


    private final Integer code;

    private final String message;


    private InsuranceFlow(Integer code, String message) {
        this.code = code;
        this.message = message;

    }

    /**
     * Return the integer value of this status code.
     */
    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
